package main

import "fmt"

func main() {
	//获取变量地址
	var num = 10
	fmt.Printf("num的值:%d 地址:%p", num, &num)
}
